﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../fly.js" type="text/javascript"></script>

    <style>
         div
         {
             padding-left:40px;
             padding-bottom:5px;
             background:url(bg_sidebar_folder1.gif) no-repeat;
         }
    </style>
    <script type="text/javascript">
        $(function () {

            var divs = $("div")
            divs.css({ backgroundPosition: "0px 7px" })
		.mouseenter(function () {
		    $(this)
				.animate(
					{ backgroundPositionX: -10, backgroundPositionY: 7 }, 200)
                .animate(
				    { backgroundPositionX: -10, backgroundPositionY: -15 }, 5)
                .animate(
				    { backgroundPositionX: 0, backgroundPositionY: -15 }, 200)
		    //				.animate(
		    //					{ backgroundPosition: "(-10px -15px)" },
		    //					{ duration: 5 })
		    //				.animate(
		    //					{ backgroundPosition: "(0px -15px)" },
		    //					{ duration: 200 })
		})
		.mouseleave(function () {
		    $(this)
                .animate(
					{ backgroundPositionX: -10, backgroundPositionY: -15 }, 200)
                .animate(
				    { backgroundPositionX: -10, backgroundPositionY: 7 }, 5)
                .animate(
				    { backgroundPositionX: 0, backgroundPositionY: 7 }, 200)

		    //		    $(this).stop()
		    //				.animate(
		    //					{ backgroundPosition: "(-10px -15px)" },
		    //					{ duration: 200 })
		    //				.animate(
		    //					{ backgroundPosition: "(-10px 7px)" },
		    //					{ duration: 5 })
		    //				.animate(
		    //					{ backgroundPosition: "(0px 7px)" },
		    //					{ duration: 200 })
		});
        });

    </script>
</head>
<body>
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
</body>
</html>
